@import "@/styles/variables";

.root {
  display: flex;
  align-items: center;
  text-align: left;

  &_active,
  &:hover .icon svg {
    color: $color-secondary;
  }

}

.icon {
  position: relative;

  min-width: 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: $color-contrast;
  transition: 0.2s ease;
}

.root .icon {
  background: $color-primary;

  &:hover {
    background: $color-contrast;
    svg {
      color: $color-primary;
    }
  }

  svg {
    width: 1rem;
    height: 1rem;
    transition: 0.2s ease;
    color: $color-contrast;
  }
}

